<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>权限管理</title>
    <link rel="stylesheet" href="{{ asset('admin_style/css/pintuer.css') }}">
    <link rel="stylesheet" href="{{ asset('admin_style/css/admin.css') }}">
    <script src="{{asset('admin_style/js/jquery.js')}}"></script>
    <script src="{{asset('admin_style/js/pintuer.js')}}"></script>
    <link rel="stylesheet" href="{{asset('admin_style/css/style.css')}}">

    <script src="{{asset('admin_style/js/layer/layer.js')}}"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> 角色列表</strong></div>
    <table class="table table-hover text-center">
            <tr>
                <th width="80" style="text-align:left; padding-left:20px;">编号</th>
                <th>分组</th>
                <th>描述</th>
            </tr>
            @foreach($data as $v)
                <tr>
                    <td style="text-align:left; padding-left:20px;">{{$v->r_id}}</td>
                    <td>{{$v->r_name}}</td>
                    <td>{{$v->r_desc}}</td>
                    <td>
                            <div class="button-group">
                                <a class="button border-red" href="{{ url('node/away/'.$v->r_id)}}">
                                    <span class="icon-trash-o"></span>权限设置
                                </a>
                            </div>
                    </td>
                </tr>
            @endforeach
    </table>
</div>
</body>
</html>